package me.liuyu.ymall.member.oauth.DO;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyu
 * @since 2018-06-07
 */
@TableName("member_level_right")
public class MemberLevelRight extends Model<MemberLevelRight> {

    private static final long serialVersionUID = 1L;

	private Long id;
	@TableField("member_level_id")
	private Long memberLevelId;
	@TableField("member_rights_id")
	private Long memberRightsId;
	@TableField("create_time")
	private Date createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMemberLevelId() {
		return memberLevelId;
	}

	public void setMemberLevelId(Long memberLevelId) {
		this.memberLevelId = memberLevelId;
	}

	public Long getMemberRightsId() {
		return memberRightsId;
	}

	public void setMemberRightsId(Long memberRightsId) {
		this.memberRightsId = memberRightsId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "MemberLevelRight{" +
			"id=" + id +
			", memberLevelId=" + memberLevelId +
			", memberRightsId=" + memberRightsId +
			", createTime=" + createTime +
			"}";
	}
}
